import { request } from '@pkg/request/src';
export enum Api {
  page = '/upgradeRecord/page',
  get = '/upgradeRecord/get',
  add = '/upgradeRecord/add',
  update = '/upgradeRecord/update',
  remove = '/upgradeRecord/remove',
}

export const getUpgradeRecordDetail = params =>
  request.get(
    {
      url: Api.get,
      params: params,
    },
    { errorMessageMode: 'none', successMessageMode: 'none' },
  );
